import request from './request'

export function findone(orderNum,openId) {
    return request({
        url: '/weixin/findone?orderNum=' + orderNum+"&openId="+openId,
        method: 'get'
    })
}

export function savepaishouorder(openId,payTaobaoOrder,realPayMoney, data) {
    return request({
        url: '/weixin/savepaishouorder?openId=' + openId+"&payTaobaoOrder="+payTaobaoOrder+"&realPayMoney="+realPayMoney,
        method: 'post',
        data
    })
}

export function giveupOrderByPaishou(openId, orderNum) {
  return request({
      url:'/weixin/giveuporderbypaishou?openId='+openId+"&orderNum="+orderNum,
      method:"get"
  })
}
